﻿using Orchard.UI.Resources;

namespace NineSeas
{
    public class ResourceManifest : IResourceManifestProvider
    {
        public void BuildManifests(ResourceManifestBuilder builder)
        {
            // Create and add a new manifest
            var manifest = builder.Add();

            manifest.DefineScript("ScriptJS").SetUrl("script.min.js", "script.js");
            manifest.DefineScript("Dashboard.App").SetUrl("app.min.js", "app.js").SetDependencies("AngularJS");
            manifest.DefineScript("Dashboard.Services").SetUrl("services.min.js", "services.js").SetDependencies("Dashboard.App");

            manifest.DefineStyle("Dashboard.Main").SetUrl("main.min.css", "main.css");
        }
    }
}